package com.lagou.service.impl;

import com.lagou.service.MemberService2;
import org.apache.dubbo.config.annotation.Service;
import org.apache.dubbo.rpc.RpcContext;

@Service
public class MemberServiceImpl implements MemberService2 {

    @Override
    public String getName(String name) {
        System.out.println(RpcContext.getContext().getAttachment("clientIp"));
        return "member2";
    }
}
